IPGetBroadcastAddr


C Specification

#include <dolphin/ip.h>

#define IP_ALEN             4       // IP address length
 
void IPGetBroadcastAddr( IPInterface* interface, u8* broadcastAddr );

Description

IPGetBroadcastAddr() gets the broadcast address of the specified interface.

Arguments

interface Pointer to IPInterface to get the broadcast address. Use NULL to specify the default network interface.
broadcastAddr Pointer to array[IP_ALEN] of u8 that receives the broadcast address.

Return Values

None.

See Also